|
|
@@ -46,8 +46,6 @@ module Agents
|
46
|
46
|
|
47
|
47
|
Beware that when parsing an XML document (i.e. `type` is `xml`) using `xpath` expressions all namespaces are stripped from the document unless a toplevel option `use_namespaces` is set to true.
|
48
|
48
|
|
49
|
|
- If the extracted value contains `<![CDATA[content]]` you can get the `content` part if you set `strip_cdata` to true.
|
50
|
|
-
|
51
|
49
|
# Scraping JSON
|
52
|
50
|
|
53
|
51
|
When parsing JSON, these sub-hashes specify [JSONPaths](http://goessner.net/articles/JsonPath/) to the values that you care about. For example:
|